package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

public class Warehouse extends BasePojo {
    // 仓库ID
    private Integer warehouseId;
    // 仓库编号
    private String warehouseCode;
    // 仓库名称
    private String warehouseName;
    // 仓库类型
    private Integer warehouseTypeId;
    // 仓库类型名称
    private String warehouseTypeName;
    // 地址
    private String adress;
    // 创建时间
    private Date createDate;
    // 修改时间
    private Date modifyDate;
    // 说明
    private String remark;
    // 状态码
    private Integer dataState;
    // 状态翻译
    private String dataStateName;

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode== null ? null : warehouseCode.trim().replace(" ","");
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName== null ? null : warehouseName.trim().replace(" ","");
    }

    public Integer getWarehouseTypeId() {
        return warehouseTypeId;
    }

    public void setWarehouseTypeId(Integer warehouseTypeId) {
        this.warehouseTypeId = warehouseTypeId;
    }

    public String getWarehouseTypeName() {
        return warehouseTypeName;
    }

    public void setWarehouseTypeName(String warehouseTypeName) {
        this.warehouseTypeName = warehouseTypeName;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress== null ? null : adress.trim().replace(" ","");
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark== null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getDataStateName() {
        return dataStateName;
    }

    public void setDataStateName(String dataStateName) {
        this.dataStateName = dataStateName;
    }

    public Warehouse() {
    }

    public Warehouse(String warehouseCode, String warehouseName) {
        this.warehouseCode = warehouseCode;
        this.warehouseName = warehouseName;
    }
}